'\" t
.\"     Title: \fBndbinfo_select_all\fR
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\"      Date: 03/25/2015
.\"    Manual: MySQL Database System
.\"    Source: MySQL 5.6
.\"  Language: English
.\"
.TH "\FBNDBINFO_SELECT_AL" "1" "03/25/2015" "MySQL 5\&.6" "MySQL Database System"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.\" ndbinfo_select_all
.\" MySQL Cluster: ndbinfo_select_all
.SH "NAME"
ndbinfo_select_all \- select from ndbinfo tables
.SH "SYNOPSIS"
.HP \w'\fBndbinfo_select_all\ \fR\fB\fIoptions\fR\fR\ 'u
\fBndbinfo_select_all \fR\fB\fIoptions\fR\fR
.SH "DESCRIPTION"
.PP
\fBndbinfo_select_all\fR
is a client program that selects all rows and columns from one or more tables in the
ndbinfo
database\&. It is included with the MySQL Cluster distribution beginning with MySQL Cluster NDB 7\&.2\&.2\&.
.PP
Not all
ndbinfo
tables can be accessed by this program\&.
ndbinfo_select_all
can access the
counters,
diskpagebuffer,
logbuffers,
logspaces,
nodes,
resources,
threadblocks,
threadstat, and
transporters
tables\&.
.PP
To select from one or more
ndbinfo
tables using
\fBndbinfo_select_all\fR, it is necessary to supply the names of the tables when invoking the program as shown here:
.sp
.if n \{\
.RS 4
.\}
.nf
shell> \fBndbinfo_select_all \fR\fB\fItable_name1\fR\fR\fB  [\fR\fB\fItable_name2\fR\fR\fB] [\&.\&.\&.]\fR
.fi
.if n \{\
.RE
.\}
.PP
For example:
.sp
.if n \{\
.RS 4
.\}
.nf
shell> \fBndbinfo_select_all logbuffers logspaces\fR
== logbuffers ==
node_id log_type        log_id  log_part        total   used    high
5       0       0       0       33554432        262144  0
6       0       0       0       33554432        262144  0
7       0       0       0       33554432        262144  0
8       0       0       0       33554432        262144  0
== logspaces ==
node_id log_type        log_id  log_part        total   used    high
5       0       0       0       268435456       0       0
5       0       0       1       268435456       0       0
5       0       0       2       268435456       0       0
5       0       0       3       268435456       0       0
6       0       0       0       268435456       0       0
6       0       0       1       268435456       0       0
6       0       0       2       268435456       0       0
6       0       0       3       268435456       0       0
7       0       0       0       268435456       0       0
7       0       0       1       268435456       0       0
7       0       0       2       268435456       0       0
7       0       0       3       268435456       0       0
8       0       0       0       268435456       0       0
8       0       0       1       268435456       0       0
8       0       0       2       268435456       0       0
8       0       0       3       268435456       0       0
shell>                       
.fi
.if n \{\
.RE
.\}
.sp
.\" command options (MySQL Cluster): ndbinfo_select_all
.PP
The following table includes options that are specific to
\fBndbinfo_select_all\fR\&. Additional descriptions follow the table\&. For options common to most MySQL Cluster programs (including
\fBndbinfo_select_all\fR), see
Options Common to MySQL Cluster Programs(1)\&.
.sp
.it 1 an-trap
.nr an-no-space-flag 1
.nr an-break-flag 1
.br
.B Table\ \&18.79.\ \& This table describes command-line options for the ndbinfo_select_all program
.TS
allbox tab(:);
lB lB lB.
T{
Format
T}:T{
Description
T}:T{
Added or Removed
T}
.T&
l l l
l l l
l l l
l l l.
T{
.PP
--delay=#
T}:T{
Set the delay in seconds between loops. Default is 5.
T}:T{
.PP
All MySQL 5.6 based releases
T}
T{
.PP
--loops=#,
.PP
-l
T}:T{
Set the number of times to perform the select. Default is 1.
T}:T{
.PP
All MySQL 5.6 based releases
T}
T{
.PP
--database=db_name,
.PP
-d
T}:T{
Name of the database where the table located.
T}:T{
.PP
All MySQL 5.6 based releases
T}
T{
.PP
--parallelism=#,
.PP
-p
T}:T{
Set the degree of parallelism.
T}:T{
.PP
All MySQL 5.6 based releases
T}
.TE
.sp 1
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" delay option (ndbinfo_select_all)
\fB\-\-delay=\fR\fBseconds\fR
.TS
allbox tab(:);
l l s s
l l l s
^ l l s
^ l l s
^ l l s.
T{
\fBCommand\-Line Format\fR
T}:T{
\-\-delay=#
T}
T{
\fBPermitted Values\fR
T}:T{
\fBType\fR
T}:T{
numeric
T}
:T{
\fBDefault\fR
T}:T{
5
T}
:T{
\fBMin Value\fR
T}:T{
0
T}
:T{
\fBMax Value\fR
T}:T{
MAX_INT
T}
.TE
.sp 1
This option sets the number of seconds to wait between executing loops\&. Has no effect if
\fB\-\-loops\fR
is set to 0 or 1\&.
.RE
.sp
.RS 4
.ie n \{\
\h'-04'\(bu\h'+03'\c
.\}
.el \{\
.sp -1
.IP \(bu 2.3
.\}
.\" loops option (ndbinfo_select_all)
.\" -l option (ndbinfo_select_all)
\fB\-\-loops=\fR\fBnumber\fR,
\fB\-l \fR\fB\fInumber\fR\fR
.TS
allbox tab(:);
l l s s
l l l s
^ l l s
^ l l s
^ l l s.
T{
\fBCommand\-Line Format\fR
T}:T{
\-\-loops=#
T}
T{
\fBPermitted Values\fR
T}:T{
\fBType\fR
T}:T{
numeric
T}
:T{
\fBDefault\fR
T}:T{
1
T}
:T{
\fBMin Value\fR
T}:T{
0
T}
:T{
\fBMax Value\fR
T}:T{
MAX_INT
T}
.TE
.sp 1
This option sets the number of times to execute the select\&. Use
\fB\-\-delay\fR
to set the time between loops\&.
.RE
.SH "COPYRIGHT"
.br
.PP
Copyright \(co 1997, 2015, Oracle and/or its affiliates. All rights reserved.
.PP
This documentation is free software; you can redistribute it and/or modify it only under the terms of the GNU General Public License as published by the Free Software Foundation; version 2 of the License.
.PP
This documentation is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
.PP
You should have received a copy of the GNU General Public License along with the program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or see http://www.gnu.org/licenses/.
.sp
.SH "SEE ALSO"
For more information, please refer to the MySQL Reference Manual,
which may already be installed locally and which is also available
online at http://dev.mysql.com/doc/.
.SH AUTHOR
Oracle Corporation (http://dev.mysql.com/).
